function colonySet = LoadColonySet(varargin)

%varargin{1}: suffix string
%varargin{2}: 'all' to search for suffix in all FOVs or 'single' to select a only one FOV
%varargin{3}: startPath

global expPath;

%% Define starting dir
if ~isempty(expPath)
    startPath = expPath;
else
    startPath = pwd;
end
if nargin==3, startPath = varargin{3}; end

%% Build file paths
startPath
if nargin>=2 && strcmp(varargin{2},'all')
    load([startPath 'Params.mat']);    
else
    [~,path] = uigetfile([startPath '\*.mat'], 'MultiSelect', 'on');
    path = {path};
end    

%% Get files
suffix = varargin{1};
file = [];
countF = 0;
if exist([startPath '\'], 'dir')
    listdir = dir([startPath '\*.mat']);
    for j=1:length(listdir)
        if strfind(listdir(j).name, suffix)
            countF = countF+1;
            file{countF} = listdir(j).name;
        end
    end
end

colonySet{1} = [];
count = 0;
for j=1:length(file)

    %Get current exp and chip from annotation
    load([startPath '\annotation.mat']);

    count = count+1;
    load([startPath '\' file{j}])
    colonySet{count} = colony;
    colonySet{count}.exp = annotation.exp;
    colonySet{count}.chip = annotation.chip;
    if isfield(annotation, 'matParam')
        colonySet{count}.matParam = annotation.matParam;
    end
    display(['Loaded ' file{j}]);

end

end
